home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / usnd3.dk < prev    next >
Text File  |  1995-03-07  |  8KB  |  227 lines

  1. BEGIN_DOC usnd3.doc
  2.  
  3. USND.LIB v3.0 (Library #1698)
  4. Universal IR Send and Receive
  5. Version 3.0, March 1994
  6. by Dan Kirkland
  7.  
  8. Version 3.0 works on HP48 versions S/SX/G/GX.
  9. Version 3.0 does not work with earlier versions.
  10. If you have earlier versions, you should upgrade to
  11. version 3.0.
  12.  
  13. USND.LIB is a library with the commands USEND and URECV.
  14. USEND and URECV are fast, all purpose, IR send and receive
  15. commands for FAST IR data transfer between two HP48's.
  16. With USEND and URECV, you can send objects directly from
  17. the stack without storing them in a variable.
  18. Try putting a library on stack level one and sending it!
  19. You must use USEND on the sending HP48 and URECV on the
  20. receiving HP48.
  21.  
  22. USEND and URECV are typically 4+ times faster than the HP48
  23. SEND and RECV commands.
  24.  
  25.  
  26.                 INSTALLING USND3.LIB
  27.  
  28. Transfer USND3.LIB to your HP48.
  29. Recall the library from the USND3.LIB variable to the stack.
  30. Enter the port number were you want to store USND3.LIB and
  31. press STO .
  32. Turn the HP48 off and back on again to allow USND3.LIB to
  33. attach.
  34. Purge the USND3.LIB variable.
  35.  
  36. To get to USND3, press the shifted LIBRARY key then press
  37. the USND softkey.
  38.  
  39.  
  40.                 REMOVING USND3.LIB
  41.  
  42. Go to the HOME directory.
  43. Enter 1698 and execute DETACH .
  44. Enter 1698 tagged with the port number which USND3.LIB
  45. is stored and execute PURGE. ( or :&:1698 PURGE)
  46.  
  47.  
  48.                 USEND  USAGE
  49.  
  50. USEND will send ANY type object from stack level one.
  51. USEND uses flag #1 (user flag).
  52.  
  53.    With flag #1 clear (no 1 in the status area).
  54.  
  55. Defined variables (both global and local variables that have
  56. something 'stored' in them) are sent and stored in the current
  57. directory on the receiving HP48.
  58. Undefined variable names will be sent and left on the stack
  59. of the receiving HP48.
  60.  
  61.   SENDING LISTS
  62.  
  63. The objects in a list will be sent separatly and defined
  64. variables in the list will be stored in the current directory.
  65. To send a list as an complete object, either put the list as
  66. an object in another list or set flag #1 (see below).
  67. Defined variable names nested inside two or more list will
  68. be sent as as names in a list. The object stored in the
  69. variable will not be sent.
  70. Only defined variable names are stored in the current
  71. directory, all other objects are left on the stack of the
  72. receiving HP48.
  73.  
  74.   With flag #1 set (a 1 showing in the status area).
  75.  
  76. Stack level one object sent as is to stack level one of the
  77. receiving HP48.
  78. This means that all variable names will be sent as variable
  79. names only.
  80. Lists will be sent as one complete object.
  81. The receiving HP48 will receive to stack level one exactly
  82. what was sent from level one of the sending HP48.
  83.  
  84.  
  85.                 URECV  USAGE
  86.  
  87. Just execute URECV on the receiving HP48.
  88. URECV does NOT use any flags (flag #1 only needed for USEND).
  89.  
  90.  
  91.                 SAMPLE PROGRAMS
  92.  
  93. SSTK    (Send Stack)     BYTES: # F386h 30.5
  94.         (SSTK will send the entire stack from one HP48 to
  95.          another AS IS.)
  96.          Arguments:      obj#n ... obj#1 #n  ->
  97. <<
  98.  1 SF
  99.  DEPTH
  100.  ->LIST
  101.  USEND
  102.  1 CF
  103. >>
  104.  
  105. RSTK    (Recv Stack)     BYTES: # 11BEh 20.5
  106.          Arguments:                          ->  obj#n ... obj#1
  107. <<
  108.  URECV
  109.  OBJ->
  110.  DROP
  111. >>
  112.  
  113.  
  114.                 COMMENTS
  115.  
  116. USEND and URECV do not require any setup (except maybe 
  117. flag #1).
  118. USEND and URECV are quiet. They do not display what is
  119. being sent. If the data transfer arrow is blinking, then
  120. everthing is okay.
  121.  
  122. USEND and URECV do not do packet checks like the built in
  123. SEND program (and TSEND). So, don't move the HP48's once
  124. you start the transfer.
  125.  
  126. URECV does a checksum check, so any object is sure to be
  127. the same as the object that was sent.
  128.  
  129. With USEND, there is no longer any need to store a library
  130. in a variable to send it. Just put the library on the stack
  131. and send it. It will be received on the stack of the receiving
  132. HP48 and can then be stored in the proper port with no
  133. variable to purge.
  134.  
  135. Thanks to Detlef Mueller for his RPL and library tools,
  136. without which these programs would not be.
  137.  
  138. Any comments, questions, or suggestions send email to:
  139.                    kirkland@ee.utah.edu
  140.  
  141. Dan Kirkland
  142.  
  143. END_DOC
  144.  
  145.  
  146. BEGIN_UU usnd3.uue
  147. begin 600 usnd3.lib
  148. M2%!(4#0X+4I`*Z"6`!!54TY$("`Z,RXP+#DT)T1+$*(VBP```,"'``4`T-D"
  149. M$2D@:@`)=[`2`\PM``(`,8*?7S'XCQL0`]ADU=+9`A$I`%@"[S]`DR\>%L/<
  150. M`E(`@+]Y!K$:`3!`40R!/%!1#*'5YT$60RU1#/@5$8!/U`'XY1"`'<XE*S'`
  151. MW`*H`(#?]0-@_,&$OWD&<1ET^'Y9T`;6,L#X?5L`%T1A%$?X`AH&1R$H@I$O
  152. M.$+@%D1A-#$5Q&73,C!!%$834$$<@6`M`X;?MP5Q&71!!!>"087]9@.=+5!.
  153. M,2IQT-D"PD\VC6&D3J"#8RLQP"EE1`ZS$@.=+4#D,/D_4$XQ*G'0V0+"3S:-
  154. M8:1.H(-C*S%`)`,K,8"B%@"=+>"A&%Y.T-D"DBX@:@7`-C$1*0``!L-SL#,Q
  155. M1#)P*F*\&=;9`HY11N0P#"'V`&0K,>!#0C1S,)EAG2T0D0("#*"#8RLQ(!H'
  156. M*T`@Z0*B-@"(,;`"!`4(@S]CG2TP(@/,+5`"`/@<)1,#81DD`1!&08*]?F+^
  157. M$0;'9&P8UMD"DBX@:@.`&`-$63"@!;L/IM-CG2T0D0(&#*"#8RLQ8')B[S]P
  158. M=&*B<=#9`J0XTIIAG2T@]V#W-+82`_M5TMD"%2'&FV&=+9"^!15;L!(#-H6!
  159. MK6&=+2`<8E=!0'A3\CK`FV(#(4:3+RLQ0),O*S&0^F$C,M`:8G4[`)%A]S06
  160. MJ`,K,>`>!YTM0)!B1R?V>Q;8&F9%94A4YBX%_A%&?A:34;`2`^5Q,)EAG2T0
  161. MD0(7#*"#8RLQH!)A$X6Q$@.=+5`I`S1,QH9AG2T@Z0*B-@#,+1`"`$$38S$0
  162. MED$20T&!358M@3JP$@/?52`:!\(R@#]CG2V`XF2Z)(88`Y(N(&H#<.Y@=B/&
  163. M^F`2+K82`^5Q8')B[S]`8S`K,2`L`T19,*`%V`^6T0.5,O#=8YTM$)$"!@R@
  164. M@V,K,4`D`RLQ4!X'6#*P$@.X3M#9`I(N(&H&$.T$*S$@Z0*B9@`K,8"B!@"=
  165. M+5"J&%Y.T-D"DBX@:@7@R&3#<X`G940.(_!`.Q-#)`.G(L:;89TMP!!B#T"V
  166. M$@,T<S"989TM$)$"`@R@@V,K,=#9`D1RDO\#;SJ6_P-X-\6;8OD_\$H%?=ZU
  167. M$@/#<]#9`OM5TMD"^3^`=U,[&E;`8BP:9O8&Z5NP>V)O/@"L`\(RH%UBE3(@
  168. MZ0*B1@#Y/Q`"!#-7`%9E[E(@Z0*B)@!$,B#I`J(F`"LQL!(#G2V@+1K",B"0
  169. M!2M`P&UCE3)0MP-')R;I`J)&`)(N(&H",)EADBX@:@+P_@-79B`:!\(RP-P"
  170. MF0"`OWD&01,#C?@9,!!'01,3<10TC$/^`<`:%#'B@"2X=M"&)4T!`>:&X?AY
  171. M6Q`1,1(3<&#X#&<`AX`*""U1#?C29Q`!08$G`MC9(#8B`Y(N(&H"@!P'6#*P
  172. M$@,T<_!=!6=`P,%ADBX@:@*P$@.X3M#9`I(N(&H&$.T$*S$@Z0*B9@`K,>"D
  173. M`B@`<-+_:/F_D?_:^(^"_ZGW_W?_3BH@"```````````````00``````````
  174. M````````````````````````````(P!04#55Y$0$``554D5#5@'@`0`4`/"A
  175. !"0``
  176. `
  177. end
  178. END_UU
  179.  
  180.  
  181. BYTES: # E39Fh  1207.5
  182.  
  183.  
  184. BEGIN_ASC usnd3.asc
  185. %%HP: T(1);
  186. "04B20A6900015535E4440202A333E203C293437244B4012A63B80000000C7800
  187. 50000D9D20119202A60090770B2130CCD20020001328F9F5138FF8B101308D46
  188. 5D2D9D201192008520FEF30439F2E1613CCD20250008FB97601BA110030415C0
  189. 18C30515C01A5D7E146134D215C08F511108F44D108F5E0108D1EC52B2130CCD
  190. 208A0008FD5F3006CF1C48FB97601791478FE7950D606D230C8FD7B500714416
  191. 41748F20A1607412822819F283240E6144164313514C563D2303144164310514
  192. C11806D23068FD7B50179147144071281458DF6630D9D205E413A2170D9D202C
  193. F463D8164AE40A3836B2130C925644E03B2130D9D2044E039FF305E413A2170D
  194. 9D202CF463D8164AE40A3836B213044230B213082A6100D9D20E1A81E5E40D9D
  195. 2029E202A6500C631311920000603C370B3313442307A226CB916D9D20E81564
  196. 4E03C0126F0046B2130E34244337039916D9D201192020C00A3836B21302A170
  197. B204029E202A630088130B2040508038F336D9D2032230CCD20520008FC15231
  198. 301691421001641428DBE726EF11607C46C6816D9D2029E202A6300881304495
  199. 030A50BBF06A3D36D9D201192060C00A3836B213062726FEF30747262A170D9D
  200. 204A832DA916D9D2027F067F436B2130BF552D9D2051126CB916D9D209EB5051
  201. B50B2130635818DA16D9D202C12675140487352FA30CB92630126439F2B21304
  202. 39F2B21309AF1632230DA12657B30019167F43618A30B2130EE170D9D2040926
  203. 74726FB7618DA166545684456EE250EF1164E76139150B21305E17039916D9D2
  204. 01192071C00A3836B2130A211631581B2130D9D205923043C46C6816D9D2029E
  205. 202A6300CCD20120001431361301691421341418D465D218A30B2130FD5502A1
  206. 702C2308F336D9D2082E46AB4268813029E202A63007EE0667326CAF0621E26B
  207. 21305E17062726FEF3043603B21302C2304495030A508DF0691D3059230FDD36
  208. D9D201192060C00A3836B213044230B21305E17085230B21308BE40D9D2029E2
  209. 02A66001DE40B213029E202A6600B213082A6000D9D205AA81E5E40D9D2029E2
  210. 02A6500E8C463C3708725644E0320F04B3313442307A226CB916D9D20C0126F0
  211. 046B21304337039916D9D201192020C00A3836B2130D9D20442729FF30F6A369
  212. FF3087735CB9269FF30FA450D7ED5B21303C370D9D20BF552D9D209FF3087735
  213. B3A1650C26C2A1666F609EB50BB726F6E300CA302C230AD5265923029E202A64
  214. 009FF30120403375006556EE25029E202A62004423029E202A6200B2130B2130
  215. D9D20AD2A12C23020950B2040CD6365923057B307472629E202A640029E202A6
  216. 2003991629E202A6200FEF30756602A1702C230CCD20990008FB9760143130D8
  217. 8F91030174143131174143C834EF100CA141132E08428B670D6852D410106E68
  218. 1E8F97B5011113213107068FC076007808A080D215D08F2D760110141872208D
  219. 9D0263223029E202A62008C17085230B213043370FD55076040C1C1629E202A6
  220. 200B21308BE40D9D2029E202A66001DE40B213029E202A6600B2130E4A208200
  221. 072DFF869FFB19FFAD8FF828FF9A7FFF77FFE4A2028000000000000000000000
  222. 0014000000000000000000000000000000000000000000000000000000000032
  223. 00050553554E444000505525543465100E100041000F1A9F93E"
  224. END_ASC
  225.  
  226.  
  227.